<%@ taglib uri="/WEB-INF/struts-nested.tld" prefix="nested" %>
<%@ taglib uri="/WEB-INF/struts-template.tld" prefix="template" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %>

<html:html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>EPrice ~ Matriz de Correo</title>
    <link href="css/estilos.css" rel="stylesheet" type="text/css" />
 </head>
 <body>
   <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
     <tr>
       <td height="52"><tiles:insert page="tiles/header.jsp"/></td>
     </tr>
     <tr>
       <td height="30"><tiles:insert page="tiles/menu.jsp"/></td>
     </tr>
     <tr>
       <td height="18" valign="top"><br/>
         <table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" class="tabla">
           <tr class="encabezadoTabla">
             <td colspan="2" height="18">
               <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
                 <tr class="encabezadoTabla">
                   <td width="45%" height="18" align="right" valign="middle" class="encabezadoTabla font_general"><img src="images/img_loginFlecha.gif" width="17" height="23" alt=" "/></td>
                   <td width="55%" height="18" align="left" valign="middle" class="encabezadoTabla font_general"><strong>&nbsp;&nbsp;Matriz de Correo</strong></td>
                 </tr>
               </table>
             </td>
           </tr>
           <logic:iterate id="estatus" name="arr_matriz">
             <tr>
               <td colspan="2" height="30" class="colorLabel font_general">
                 &nbsp;&nbsp;<strong><bean:write name="estatus" property="str_descEstatus"/></strong>
               </td>
             </tr>
             <logic:iterate id="dirigido" name="estatus" property="arr_dirigido">
               <tr>
                 <td width="5%" height="20" class="impar font_general" align="right" valign="middle" style="text-transform:uppercase;">
                   <a href="javascript:var win=open('<html:rewrite page="/matrizCorreo.do" name="dirigido" property="map_urlEditar" />', 'Editar','width=200,status=YES,height=180,scrollbars=NO')"><u><bean:write name="dirigido" property="str_descDirigido"/></u>:</a>&nbsp;&nbsp;
                 </td>
                 <td width="95%" valign="middle" class="colorCampo font_general">
                   <table border="0" cellpadding="0" cellspacing="0">
                     <tr>
                       <logic:iterate id="perfil" name="dirigido" property="arr_perfil">
                         <td width="100" height="100%" valign="top" class="colorCampo font_general">
                           &nbsp;<bean:write name="perfil" property="str_descPerfil"/>
                         </td>
                       </logic:iterate>
                     </tr>
                   </table>
                 </td>
               </tr>
               <logic:notEmpty name="dirigido" property="arr_otro">
                 <logic:iterate id="otro" name="dirigido" property="arr_otro">
                   <tr>
                     <td colspan="2" height="20" valign="middle" class="colorCampo font_general">&nbsp;&nbsp;Otro: &nbsp;(<bean:write name="otro" property="str_nominaUsuario"/>) - <bean:write name="otro" property="str_nombreUsuario"/></td>
                   </tr>
                 </logic:iterate>
               </logic:notEmpty>
             </logic:iterate>
           </logic:iterate>
         </table>
       </td>
     </tr>
     <tr>
       <td height="39"><tiles:insert page="tiles/footer.jsp"/></td>
     </tr>
   </table>
 </body>
</html:html>
